package com.girlcoding.jianfei.activities;

import com.girlcoding.www.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

/**
 * @author Tinker
 * @createDate 2011-6-20
 * @version v0.1
 */
public class SplashLoadingActivity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash_loading);
		Handler handler = new Handler();
		handler.postDelayed(new splashhandler(), 1000);
	}

	class splashhandler implements Runnable {
		public void run() {
			startActivity(new Intent(getApplication(),HomeActivity.class));
			SplashLoadingActivity.this.finish();
		}
	}
}
